#define _CRT_SECURE_NO_WARNINGS 1

#include "queue_stack.h"

int main() {
    MyStack* stack = myStackCreate();
    myStackPush(stack, 1);
    myStackPush(stack, 2);
    printf("Top element: %d\n", myStackTop(stack));
    printf("Popped element: %d\n", myStackPop(stack));
    printf("Is stack empty? %s\n", myStackEmpty(stack) ? "Yes" : "No");
    myStackFree(stack);
    return 0;
}